package com.pesilo.module.watch.mvc.controller
{
	import com.pesilo.module.watch.mvc.model.WatchProxy;
	import com.pesilo.module.watch.mvc.view.ApplicationMediator;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class ApplicationStartupCommand extends SimpleCommand
	{
		override public function execute(notification:INotification):void{
			facade.registerProxy(new WatchProxy());
			facade.registerMediator(new ApplicationMediator(notification.getBody()));
		}
	}
}